package com.zhb.cms.domain.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import com.zhb.cms.domain.dao.UrUserLoginInfoMapper;
import com.zhb.cms.domain.dao.UrUserOrgFunctionInfoMapper;
import com.zhb.cms.domain.dao.UrUserOrgMenuInfoMapper;
import com.zhb.cms.domain.dao.UrUserOrgPortalInfoMapper;
import com.zhb.cms.domain.vo.UserOrgFunctionVO;
import com.zhb.cms.domain.vo.UserOrgMenusVO;
import com.zhb.cms.domain.vo.UserOrgPortalVO;
import com.zhb.cms.domain.vo.UserTokenVO;
import com.zhb.cms.sdk.bean.Result;

@Service("userOrgFunctionService")
public class UserOrgFunctionService {
   @Autowired
   private UrUserOrgFunctionInfoMapper urUserOrgFunctionInfoMapper;

   /**
    * 
   * @Title: searchOrgFunctions 
   * @Description: 查询用户的机构功能服务 
   * @author  张海滨  zhanghb22 
   * @date 2017年12月12日 下午3:52:26 
   * @return Result<List<UserOrgFunctionVO>>    返回类型
    */
	public Result<List<UserOrgFunctionVO>> searchOrgFunctions(String userCd,String orgCd,String menuCd){
		List<UserOrgFunctionVO> userOrgFunctionVOList=urUserOrgFunctionInfoMapper.searchOrgFunctions(userCd, orgCd, menuCd);		
		return new Result<List<UserOrgFunctionVO>>("0",null,userOrgFunctionVOList);
	}
}
